package com.yiwei.hdb.api.callback;

import com.yiwei.hdb.api.contract.BaseContract;
import com.yiwei.hdb.model.ChsiModel;
import com.yiwei.hdb.model.ChsiPwdModel;

/**
 * Created by Administrator on 2017/5/14.
 */

public interface ChsiForgetContract {
    interface View extends BaseContract.BaseView {
        void getChsiImgCodeInfoSuccess(int type, ChsiModel model);

        void getChsiPwdTypeInfoSuccess(ChsiPwdModel model);

        void getRetrieveByEmailInfoSuccess(ChsiModel model);

        void getRetrieveByPhoneInfoSuccess(ChsiModel model);

        void getRetrieveByPhoneInfo2Success(ChsiModel model);
    }

    interface Presenter<T> extends BaseContract.BasePresenter<T> {
        void getChsiImgCodeInfo(boolean isfirst, int type);

        void getChsiPwdTypeInfo(String username, String captcha);

        void getRetrieveByEmailInfo(String ctoken, String email, String realname, String idno);

        void getRetrieveByPhoneInfo(String ctoken, String mobile, String realname, String idno, String captcha);

        void getRetrieveByPhoneInfo2(String clst, String vcode, String password);
    }
}
